package model;

/**
 * @author Sjaak Smetsers (number?)
 * @author Karen Berntsen (s0815799)
 * @author Erik Stens (s0615374)
 */
public class ParseError extends Exception {
	private static final long	serialVersionUID	= -7915910208026303785L;
	
	/**
	 * Constructs an instance of ParseError with the message.
	 * 
	 * @param msg
	 *            the detail message.
	 */
	public ParseError(String msg) {
		super(msg);
	}
	
	public ParseError(String msg, String token) {
		super(msg + ", found: " + token + '\n');
	}
}